

package com.jiutong.meipengdai.ui.activitys;

import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.jiutong.meipengdai.R;
import com.jiutong.meipengdai.base.BaseActivity;

/**
 * Created by suxi on 2017/5/27.
 */
public class WaitAuditActivity extends BaseActivity implements View.OnClickListener {
    private TextView tv_title;
    private Button btn_wait_audit;
    private ImageView iv_back;

    @Override
    public int getLayoutResouceId() {
        return R.layout.activity_wait_audit;
    }

    @Override
    protected void initView() {
        super.initView();
        tv_title = (TextView) findViewById(R.id.tv_title);
        tv_title.setText("等待审核");
        btn_wait_audit = (Button) findViewById(R.id.btn_wait_audit);
        iv_back = (ImageView) findViewById(R.id.iv_back);
    }

    @Override
    protected void initEvent() {
        super.initEvent();
        iv_back.setOnClickListener(this);
        btn_wait_audit.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.iv_back:
                finish();
                break;
            case R.id.btn_wait_audit:
                //申请贷款完成
                openActivity(AllLoanActivity.class);
                break;
        }
    }
}

